projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b03426
)
Don't use `string-replace` in soap-client (bug#53744)
author
Mattias Engdegård
<mattiase@acm.org>
Thu, 3 Feb 2022 11:25:53 +0000
(12:25 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Thu, 3 Feb 2022 11:25:53 +0000
(12:25 +0100)
* lisp/net/soap-client.el (soap-decode-xs-complex-type):
Cease using `string-replace` since it requires Emacs 28.
lisp/net/soap-client.el
patch
|
blob
|
history
diff --git
a/lisp/net/soap-client.el
b/lisp/net/soap-client.el
index 718cff829cf657f9789717e484794dd3fd85e424..274e3b29e1caaef93edfc3b5eec862faccbdc643 100644
(file)
--- a/
lisp/net/soap-client.el
+++ b/
lisp/net/soap-client.el
@@
-659,7
+659,7
@@
representing leap seconds."
(if second
(if second-fraction
(let* ((second-fraction-significand
- (
string-replace "
." "" second-fraction))
+ (
replace-regexp-in-string "\\
." "" second-fraction))
(hertz
(expt 10 (length second-fraction-significand)))
(ticks (+ (* hertz (string-to-number second))